﻿
using Natural.Attributes;
using Natural.Managers;
using Natural.Providers;
using Natural.Model;
namespace Natural.Actions
{
    [Impl(Type= ImplType.Action , Name = "Delete", Strategy = "Default", ApplyTo = typeof(object), Version = 0, Priority = 0)]
    public class Delete<T> where T : class 
    {
        public virtual void Execute(ActionContext context,T entity,string includes)
        {
            Data.Delete<T>(entity, includes);
        }
    }
}
